<!-- 青菜  新增-->
<script>
var urlParam1 =window.location.href;
var	urlParam2 = urlParam1.split('?');
var urlParam3 = urlParam2[1].split('=');
var	urlParam = urlParam3[1];
export default {
        created() {
            sessionStorage.setItem('user_ID', urlParam);
            localStorage.setItem('user_ID',urlParam);
            sessionStorage.removeItem('reco_code');
                // this.$router.push({
                //     path : '/home'
                // });
                if(sessionStorage.getItem('goods_id')){
                    this.$router.push({
                        name:'product',
                        params:{
                            id:this.off,
                            status:1
                        }
                    });
                }else{
                    this.$router.push('/home');
                }

        },


    }
</script>



